package com.cangxuan.manage.entity;

import com.cangxuan.manage.annotation.check.NotEmpty;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * 管理员实体类
 */
@ApiModel("管理员实体类")
@Data
public class Admin {

    @NotEmpty(message = "用户名不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;

}
